Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | define(['leaflet'], function (L) { |
||
9 | initialize: function (latlng) { |
||
10 | this.accuracyCircle = L.circle(latlng, 0, this.accuracyCircle); |
||
11 | this.outerCircle = L.circleMarker(latlng, this.outerCircle); |
||
12 | L.CircleMarker.prototype.initialize.call(this, latlng, this.innerCircle); |
||
13 | |||
14 | this.on('remove', function () { |
||
15 | this._map.removeLayer(this.accuracyCircle); |
||
16 | this._map.removeLayer(this.outerCircle); |
||
17 | }); |
||
18 | }, |
||
19 | |||
37 |